<!--
 * @Author: lsmi
 * @Date: 2021-07-07 20:51:13
 * @LastEditors: lsmi
 * @LastEditTime: 2021-07-11 11:57:59
 * @FilePath: \v2_play_js\src\components\mutilSlot\solt1.vue
-->
<!--  -->
<template>
  <div class="solt1">
    <div class="title">title</div>
    <div class="list" v-if="$slots.default">
      <slot>
        <slot name="two">90</slot>
      </slot>
    </div>
    <div v-for="(item, index) in storeList" :key="index">
      {{ item.name }}
      solt id {{ item.id }}
    </div>
  </div>
</template>

<script>
import { mapState } from "vuex";
export default {
  components: {},
  data() {
    return {};
  },
  computed: {
    ...mapState({
      storeList: (state) => state.storeList,
    }),
  },
  watch: {},
  methods: {},
  created() {},
  mounted() {},
  beforeCreate() {},
  beforeMount() {},
  beforeUpdate() {},
  updated() {},
  beforeDestroy() {},
  destroyed() {},
  activated() {},
};
</script>
<style lang="scss" scoped>
//@import url();
.list {
  border: 1px solid #abcdef;
}
</style>
